﻿@model System.Collections.Generic.IEnumerable<Kooboo.CMS.Sites.Models.PagePosition>
@{
    Layout = "~/Views/Shared/Site.cshtml";
    ViewContext.RequestContext.RouteData.Values["siteName"] = ViewContext.RequestContext.GetRequestValue("siteName");
    ViewContext.RequestContext.RouteData.Values["fullName"] = ViewContext.RequestContext.GetRequestValue("fullName"); 
    }

    <h2>
        Positions for "@ViewContext.RequestContext.GetRequestValue("fullName") "</h2>
        @Html.Partial("ViewStepNavigation") 
    <div class="command">
        @Html.ActionLink("Create".Localize(), "CreatePosition", "Page", ViewContext.RequestContext.AllRouteValues(), new RouteValueDictionary(new { @class = "button create"}))
        
    </div>
    @Html.GridForModel() 
    <p class="buttons">
        @Html.ActionLink("<< Previous", "Index", ViewContext.RequestContext.AllRouteValues(), new RouteValueDictionary(new {@class="button" }))
        @Html.ActionLink("Next >>", "Index", "DataRule" , ViewContext.RequestContext.AllRouteValues(), new RouteValueDictionary(new {@class="button" }))
    </p>
    <script language="javascript" type="text/javascript">
            adminJs.pageJs.initPopup();
    </script>
